@inject IJSRuntime _jsRuntime;
@inject CommonJsInterop _commonJsInterop

@code {
  [Parameter] public string Title { get; set; } = default!;

  protected override async Task OnInitializedAsync()
  {
    await _commonJsInterop.SetTitleAsync(Title);
  }
}
